package com.woniuxy.dudugua.entity;

import java.io.Serializable;

public class CouponRule implements Serializable {
    /**
    * 优惠券规则id
    */
    private Integer id;

    /**
    * 优惠金额门槛
    */
    private Double doorsill;

    /**
    * 优惠金额
    */
    private Double sale;

    /**
    * 优惠类型(1:满减、2：折扣)
    */
    private Integer type;

    /**
    * 折扣
    */
    private Double discount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getDoorsill() {
        return doorsill;
    }

    public void setDoorsill(Double doorsill) {
        this.doorsill = doorsill;
    }

    public Double getSale() {
        return sale;
    }

    public void setSale(Double sale) {
        this.sale = sale;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }
}